* {
    margin: 0;
    padding: 0;
}
.w {
    width: 1200px;
    margin: auto;
}
body{
    background-color: #f3f5f7;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.clearfix:before,.clearfix:after{
    content:"";
    display:table;
}
.clearfix:after{
    clear: both;
}
.clearfix{
    *zoom:1;
}
.header {
    height: 42px;
    /* background-color: pink; */
    /* 注意此地方会层叠w里面的margin */
    margin: 30px auto;
}
.logo {
    float: left;
    width: 198px;
    height: 42px;
    /* background-color: purple; */
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li {
    float: left;
    padding: 0 15px;
}
.nav ul li a {
    display: block;
    height: 42px;
    line-height: 42px;
    font-style: 18px;
    padding: 0 10px;
    color: #050505;
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
/* 搜索框 */
.search{
    float: left;
    width: 412px;
    height: 42px;
    /* background-color: skyblue; */
    margin-left: 70px;
}
.search input{
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button {
    float: left;
    width: 50px;
    height: 42px;
    /* background-color: blue; */
    /* 按钮button有个默认边框需要手动去掉 */
    border: 0;
    background: url(images/btn.png);
}
.user{
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #7e7e7f;
}
/* .user img{
    vertical-align: middle;
} */
/* 头部区域结束 1200*/
/* banner部分开始 */
.banner{
    height: 420px;
    background-color: #1c036c;
}
.banner .heart{
    width: 1200px;
    height: 420px;
    margin: 0 auto;
    background: url(images/banner-h.png) no-repeat top center;
}
.subnav  {
    float: left;
    width: 190px;
    height: 420px;
    background-color: rgba(0,0,0,0.3);
}
.subnav ul li{
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}
.subnav ul li a{
    color: white;
}
.subnav ul li a:hover{
    color:#00a4ff;
}
.subnav ul li a span{
    float: right;
}
.course{
    float: right;
    width: 230px;
    height: 300px;
    /* margin: 50px 0 70px; */
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
    background-color: #ffffff;
}
.course .c1{
    height: 50px;
    background-color: #9bceea;
    line-height: 50px;
    /* padding: 0 65px; */
    text-align: center;
    font-size: 18px;
    color:white;
}
.course .c2{
    padding: 0 20px;
}
.course .c2 ul li{
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}
.course .c2 ul li h4{
    font-size: 16px;
    color: #5f5f5f;
}
.course .c2 ul li p{
    font-size: 12px;
    color: #bfbfbf;
}
.course .more{
    display: block;
    height: 35px; 
    border: 1px solid #22b0ff;
    margin-top: 5px;
    text-align: center;
    line-height: 40px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
}
/* 精品推荐模块 */
.goods{
    height: 60px;
    margin-top: 10px;
    /*行高会继承，会继承给3个孩子  */
    line-height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 3px 3px rgba(0,0,0,0.1);
}
.goods h3{
    float: left;
    padding-left: 30px;
    font-style: 16px;
    color:#26abff ;
}
.goods ul{
    float: left;
    padding-left: 30px;
}
.goods ul li{
    float: left;
}
.goods ul li a{
    padding: 0 30px;
    font-size: 16px;
    border-left: 1px solid #bfbfbf;
    color: #050505;
}
.goods .mod{
    float: right;
    padding-right: 30px;
    font-style: 14px;
    color:#26abff ;
}
.box{
    /* height: 600px; */
    margin-top: 35px;
}
.box-hd{
    height: 42px;
}
.box-hd h3{
    float: left;
    font-size: 20px;
    color: #8f9091;
}
.box-hd a{
    float: right;
    font-size: 12px;
    margin-top: 10px;
    padding-right: 30px;
    color: #a5a5a5;
}
.box-bd ul{
    width: 1215px;
}
.box-bd ul li{
    /* 子绝父相 */
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: #ffffff;
}
.box-bd ul li em{
    position: absolute;
    right:-4px;
    top:4px;
}
.box-bd ul li > img{
    width: 100%;
}
.box-bd ul li h4{
    margin: 20px 20px 20px 24px;
    font-size: 14px;
    font-weight: 400;
    color: #686868;
}
.box-bd ul li .info{
    margin: 0 20px 0 24px;
    font-size: 12px;
    font-weight: 400;
    color: #dadada;
}
.box-bd ul li span{
    color: #ff9159;
}
.footer  {
    height: 418px;
    background-color: white;
}
.footer .center {
    width: 1200px;
    margin: auto;
    padding-top: 33px;
}
.copyright{
    float: left;
}
.footer p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}
.footer .app{
    display: block;
    width: 121px;
    height: 34px;
    border:1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    color: #00a4ff;
    font-size: 16px;

}
.link{
    float: right;
}
.link dl{
    float: left;
    margin-left: 120px;
    padding-right: 30px;
}
.link dl dt{
    padding-bottom: 17px;
    font-size: 16px;
    color: #333333;
}
.link dl dd a {
    font-size: 12px;
    color: #333333;
}